package edu.ucla.cs.typecast.ping;

import java.io.*;
import java.net.*;

/**
 * Indicates that a class can receive a ping.
 */

public interface PingReceiver extends Serializable {
	/**
	 * Receive a ping from the sender.
	 * 
	 * @param senderHost
	 * @param senderPort
	 * @param seqNum
	 * @throws IOException
	 */
	
	public void receivePing(InetAddress senderHost, int senderPort, int seqNum) throws IOException;
}

